package com.ywd.materials.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 物资拆分记录实体类
 */
@Accessors(chain = true)
@Data
@TableName("materials_divide_record")
public class MaterialsDivideRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 物资拆分记录ID
     */
    @Schema(description = "物资拆分记录ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 物资拆分ID
     */
    @Schema(description = "物资拆分ID")
    private Long divideId;

    /**
     * 仓库ID
     */
    @Schema(description = "仓库ID")
    private Long warehouseId;

    /**
     * 新装箱ID
     */
    @Schema(description = "新装箱ID")
    private String goodsPkgId;

    /**
     * 物资ID
     */
    @Schema(description = "物资ID")
    private Long goodsId;

    /**
     * 拆分时间
     */
    @Schema(description = "拆分时间")
    private String splitTime;

    /**
     * 箱规格
     */
    @Schema(description = "箱规格")
    private Integer boxSize;

    /**
     * 物资总数量
     */
    @Schema(description = "物资总数量")
    private Integer goodsCount;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;
}